package com.example.b_308.myapplication.controller;

import android.support.annotation.Nullable;

import com.example.b_308.myapplication.R;
import com.example.b_308.myapplication.controller.base.BaseController;
import com.example.b_308.myapplication.model.Staff;
import com.example.b_308.myapplication.model.been.AddressBeen;
import com.example.b_308.myapplication.view.main.AddressFragment;
import com.example.b_308.myapplication.view.main.Base.IAddressView;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by B-308 on 2017/11/24.
 */
public class AddressController extends BaseController {

    IAddressView iAddressView;

    public AddressController(IAddressView iAddressView) {
        this.iAddressView = iAddressView;
    }

    public void getList() {
        iAddressView.onRequestListSuccess(paraseList());
    }

    @Nullable
    private List<Staff> paraseList() {
        List<Staff> list = new ArrayList();

        return list;
    }
}
